﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<t_205_verk_hopur_12.Models.ChannelMenuViewModel>" %>
<div id="textLeft">
<%= Html.ActionLink("__IMG__ Horfa", "Index", "Channel", new { id = Model.Channel.ID }, null).ToString().Replace("__IMG__", "<img src='/Content/Icons/television.png' title='Horfa' alt='Horfa' />") %> &nbsp;
<%= Html.ActionLink("__IMG__ Dagskrá", "Schedule", "Channel", new { id = Model.Channel.ID }, null).ToString().Replace("__IMG__", "<img src='/Content/Icons/calendar.png' title='Dagskrá' alt='Dagskrá' />")%> &nbsp;
<% if (Model.IsOwnerOrEmployee)
   { %>
    <%= Html.ActionLink("__IMG__ Sjórnborð", "Admin", "Channel", new { id = Model.Channel.ID }, null).ToString().Replace("__IMG__", "<img src='/Content/Icons/wrench.png' title='Stjórnborð' alt='Stjórnborð' />")%> &nbsp;
<% } %>
<%= Html.ActionLink("__IMG__ Starfsmenn", "Employees", "Channel", new { id = Model.Channel.ID }, null).ToString().Replace("__IMG__", "<img src='/Content/Icons/group.png' title='Starfsmenn' alt='Starfsmenn' />")%> &nbsp;
<%= Html.ActionLink("__IMG__ Leiðbeiningar", "Tutorial", "Home").ToString().Replace("__IMG__", "<img src='/Content/Icons/book.png' title='Leiðbeiningar' alt='Leiðbeiningar' />")%> &nbsp;
<%= Html.ActionLink("__IMG__ Um Mitt.tv", "About", "Home").ToString().Replace("__IMG__", "<img src='/Content/Icons/information.png' title='Um Mitt.tv' alt='Um Mitt.tv' />")%> &nbsp;
</div>
<div id="textRight">
    <% Html.RenderPartial("SearchBox"); %>
</div>